﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace KWT.DRG_DIP.API.Migrations
{
    /// <inheritdoc />
    public partial class _20250429140152 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "TurnDept",
                table: "List_DiagInfo",
                newName: "TurnCategory");

            migrationBuilder.RenameColumn(
                name: "OutDept",
                table: "List_DiagInfo",
                newName: "OutCategory");

            migrationBuilder.RenameColumn(
                name: "InDept",
                table: "List_DiagInfo",
                newName: "InCategory");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "TurnCategory",
                table: "List_DiagInfo",
                newName: "TurnDept");

            migrationBuilder.RenameColumn(
                name: "OutCategory",
                table: "List_DiagInfo",
                newName: "OutDept");

            migrationBuilder.RenameColumn(
                name: "InCategory",
                table: "List_DiagInfo",
                newName: "InDept");
        }
    }
}
